package patterns.interpreter.main;

import patterns.interpreter.core.Context;
import patterns.interpreter.core.Minus;
import patterns.interpreter.core.Plus;

public class Test {
	public static void main(String[] args) {
		int result = new Plus().interpret(new Context(new Minus().interpret(new Context(2, 1)), 1));
		System.out.println(result);
	}
}
